package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生对象 admin_student
 * 
 * @author ruoyi
 * @date 2020-06-09
 */
public class AdminStudent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学生id */
    private Long studentId;

    /** 学生学号 */
    @Excel(name = "学生学号")
    private String studentNo;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String studentName;

    /** 学生账号 */
    @Excel(name = "学生账号")
    private String loginNo;

    /** 登录密码 */
    private String password;

    /** 所属单位 */
    private Long companyId;

    /** 所属单位 */
    @Excel(name = "所属单位")
    private String companyName;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 座位号 */
    @Excel(name = "座位号")
    private String seatNum;

    /** 班级id */
    private Long classId;

    /** 所属班级 */
    @Excel(name = "所属班级")
    private String className;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private String status;

    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }
    public void setStudentNo(String studentNo) 
    {
        this.studentNo = studentNo;
    }

    public String getStudentNo() 
    {
        return studentNo;
    }
    public void setStudentName(String studentName) 
    {
        this.studentName = studentName;
    }

    public String getStudentName() 
    {
        return studentName;
    }
    public void setLoginNo(String loginNo) 
    {
        this.loginNo = loginNo;
    }

    public String getLoginNo() 
    {
        return loginNo;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setSeatNum(String seatNum) 
    {
        this.seatNum = seatNum;
    }

    public String getSeatNum() 
    {
        return seatNum;
    }
    public void setClassId(Long classId) 
    {
        this.classId = classId;
    }

    public Long getClassId() 
    {
        return classId;
    }
    public void setClassName(String className) 
    {
        this.className = className;
    }

    public String getClassName() 
    {
        return className;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("studentId", getStudentId())
            .append("studentNo", getStudentNo())
            .append("studentName", getStudentName())
            .append("loginNo", getLoginNo())
            .append("password", getPassword())
            .append("companyId", getCompanyId())
            .append("companyName", getCompanyName())
            .append("sex", getSex())
            .append("email", getEmail())
            .append("seatNum", getSeatNum())
            .append("classId", getClassId())
            .append("className", getClassName())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
